package com.book.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.book.pojo.Chapter;
import com.book.vo.ChapterVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cc
 * @since 2023-10-11 22:05:52
 */
@Mapper
public interface ChapterDao extends BaseMapper<Chapter> {


    Integer getBookNumber(Long bookId);

    List<Chapter> selectChapterByBookId(Long id);
}
